<template>
  <div class="about-container">
    <div class="logo"></div>
    <div class="name">商品城</div>
    <div class="version">最新版本2.0</div>
  </div>
</template>

<script>
export default {
  mounted() {
    this.getList();
  },
  methods: {
    async getList () {
      const res = await this.$fetchGet('/home/info/lists', {
        id: 1
      })
      if (!res.success) {
        this.$toast(res.msg)
        return
      }
      console.log(res)
    }
  }
}
</script>

<style lang="scss">
.about-container {
  padding-top: 10vh;
  text-align: center;
  .logo {
    display: inline-block;
    width: 150px;
    height: 150px;
    background: #BCBCBC;
    border-radius: 50%;
  }
  .name {
    font-size: 40px;
    margin-top: 70px;
    font-weight: bold;
  }
  .version {
    font-size: 30px;
    margin-top: 70px;
    font-weight: bold;
    color: #505050;
  }
}
</style>